//
//  CSBaseModel.h
//  ChinaShip
//
//  Created by yyk on 2019/1/23.
//  Copyright © 2019年 ChinaShip. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CSBaseModel;
@interface NSObject (Helper)

+ (CSBaseModel *)entityWithData:(id)entityData entityClass:(Class)entityClass;

+ (NSMutableArray *)entityListWithData:(id)entityListData entityClass:(Class)entityClass;

+ (Class)getClassTypeOfProperty:(NSString *)propertyName;

- (NSDictionary *)dictionaryRepresentation;

@end

@interface CSBaseModel : NSObject <NSCopying, NSCoding>

@end
